package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 工艺管理对象 cp_tech
 * 
 * @author GGJ
 * @date 2024-05-20
 */
public class CpTech extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 工艺编码 */
    private Long id;

    /** 工艺名 */
    @Excel(name = "工艺名")
    private String name;

    /** 工序编码 */
    @Excel(name = "工序编码")
    private Long processId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setProcessId(Long processId) 
    {
        this.processId = processId;
    }

    public Long getProcessId() 
    {
        return processId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("processId", getProcessId())
            .append("remark", getRemark())
            .toString();
    }
}
